package com.happy.util;

/**
 * @Auther: lifeng
 * @Date: 2018/6/26 11:18
 * @Description:字符串工具类,
 * TODO 以后补充扩展此类
 */
public class StringTools {

    public static boolean isNullOrEmpty(String str) {
        return null == str || "".equals(str) || "null".equals(str);
    }

    public static boolean isNullOrEmpty(Object obj) {
        return null == obj || "".equals(obj);
    }
}
